package com.peach.service;

import com.peach.pojo.Activity;

import java.util.List;

public interface ActivityService {
    List<Activity> selectAllActivities(String activityAuthor,String activityContent);
    Boolean updateOneActivity(Activity activity);
    Boolean deleteOneActivity(Integer activityId);
    Boolean insertOneActivity(Activity activity);

    List<Activity> selectAllActivitiesByUser(Integer activityUserId);
    Activity selectActivityById(Integer activityId);

    Boolean updateActivityState0_1(Integer activityId,Integer activityUserId);
    Boolean updateActivityState1_2(Integer activityId);
}
